package com.ehome.poct.core.api.dto.check;

import com.ehome.poct.core.api.dto.common.DeviceCheckStatusEnum;
import lombok.Getter;

import java.time.LocalDateTime;

/**
 * 联机设备检测进程
 * @author gyl
 * @since 2022/3/5 14:30
 **/
@Getter
public class DeviceCheckProcess {
    private final DeviceCheckStatusEnum status;
    private LocalDateTime finishTime;

    public DeviceCheckProcess(DeviceCheckStatusEnum status, LocalDateTime finishTime) {
        this.status = status;
        this.finishTime = finishTime;
    }

    public DeviceCheckProcess(DeviceCheckStatusEnum status) {
        this.status = status;
    }
}
